package ic.distribution.mapper;

import ic.distribution.domain.DTO.CountDTO;
import ic.distribution.domain.DTO.VehicleDTO;
import ic.distribution.domain.Vehicle;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicledeploymentMapper {
    List<Vehicle> searchVehicleDeploymentTasks(VehicleDTO vehicleDTO);

    void add(Vehicle vehicle);

    void updstatu(@Param("id") Integer id);

    void update(Vehicle vehicle);

    List<CountDTO> findVehicledeploymentCount();

    Integer updcarstatu(Integer id);

}
